﻿using CommunityToolkit.Mvvm.ComponentModel;
using LearnMAUI2.Models;

namespace LearnMAUI2.ViewModels;

//注意无法在类库项目中添加[QueryPropertyAttribute]属性，因它是MAUI的功能
public class DetailPageViewModel : ObservableObject
{
    private Poetry _poetry;
    public Poetry Poetry
    {
        get => _poetry;
        set => SetProperty(ref _poetry, value);
    }
}
